package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.TravelCommend;
import cn.wolfcode.luowowo.common.query.TravelQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ITravelCommendService {
    /**
     * 查询列表
     * @param qo
     * @return
     */
    PageInfo query(TravelQueryObject qo);

    void deleteById(Long id);

    void saveOrUpdate(TravelCommend travelCommend);

    List<TravelCommend> selectAllCommends();

    List<TravelCommend> selectCommendsTop5();

}
